package com.eastfair.imaster.dto;

import com.eastfair.config.vo.ObjectFormFieldEditVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体类
 * 展商
 * </p>
 *
 * @author ligang
 * @since 2021-09-07
 */
@Data
@ApiModel(value = "ExhibitorDTO", description = "展商")
public class ExhibitorDTO implements Serializable {
    //校验标识
    public interface addCompanyOfExhibitor {}
    public interface removeCompanyOfExhibitor {}



    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = {removeCompanyOfExhibitor.class})
    private Long id;


    @ApiModelProperty(value = "主键")
    private List<Long> ids;
    /**
     * 当前发布到的展会ID
     */
    @ApiModelProperty(value = "当前发布到的展会ID")
    @NotNull(groups = {addCompanyOfExhibitor.class})
    private Long exhibitionId;
    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    @NotNull(groups = {addCompanyOfExhibitor.class})
    private Long companyId;


    /**
     * 展馆号
     */
    @ApiModelProperty(value = "展馆号")
    @Size(max = 255, message = "展馆号长度不能超过255")
    private String exhibitionFloor;
    /**
     * 展位号
     */
    @ApiModelProperty(value = "展位号")
    @Size(max = 255, message = "展位号长度不能超过255")
    private String exhibitionBoothNumber;
    /**
     * 展位区域
     */
    @ApiModelProperty(value = "展位区域")
    @Size(max = 255, message = "展位区域长度不能超过255")
    private String exhibitionBoothPart;
    /**
     * 参展次数
     */
    @ApiModelProperty(value = "参展次数")
    private Integer attendTimes;

    /**
     * 搜索条件
     */
    @ApiModelProperty(value = "搜索条件")
    private String seatchValue;

    /**
     * 编辑用
     */
    private List<ObjectFormFieldEditVO> objectFormFieldEditVOList;
}
